package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value = "com.lanchetech.entity.Attribute")
@Data
public class Attribute implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 属性名称
     */
    @ApiModelProperty(value = "属性名称")
    private String name;

    /**
     * 默认选项
     */
    @ApiModelProperty(value = "默认选项")
    private String options;

    /**
     * 父属性id
     */
    @ApiModelProperty(value = "父属性id")
    private Long pid;

    /**
     * 后台类目id
     */
    @ApiModelProperty(value = "后台类目id")
    private Long categoryId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}